package com.woniu.mall.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author Klaus
 * @since 2023-05-26
 */
@Getter
@Setter
@TableName("t_mall_payment_info")
@ApiModel(value = "MallPaymentInfo对象", description = "")
public class MallPaymentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("支付信息id")
        @TableId(value = "pay_id", type = IdType.AUTO)
      private Integer payId;

      @ApiModelProperty("商家订单号")
      private String orderId;

      @ApiModelProperty("支付宝交易单号")
      private String transactionId;

      @ApiModelProperty("支付金额")
      private BigDecimal paymentTotalAmount;

      @ApiModelProperty("通知参数")
      private String content;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("交易状态")
      private String tradeStatus;

      @ApiModelProperty("更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;
}
